package org.example.commons.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;
import lombok.ToString;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;

/**
 * 用户反馈表(SysFeedback)实体类
 *
 * @author makejava
 * @since 2020-06-01 14:06:21
 */
@Entity
@Data
@DynamicUpdate
@ColumnWidth(25)
public class SysFeedback implements Serializable {
    private static final long serialVersionUID = 218775779624798209L;
    /**
    * 反馈ID
    */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long feedbackId;
    /**
    * 反馈人名字
    */
    @ExcelProperty("反馈人名字")
    private String userName;
    /**
    * 反馈内容
    */
    @ExcelProperty("反馈内容")
    private String content;

    /**
     * 创建时间
     */
    @ExcelProperty("创建时间")
    private Date createTime;

}